﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ban_DTO
    {
        private string _MaHD;

        public string MaHD
        {
            get { return _MaHD; }
            set { _MaHD = value; }
        }
        private string _MaSach;

        public string MaSach
        {
            get { return _MaSach; }
            set { _MaSach = value; }
        }
        private DateTime _NgayBan;

        public DateTime NgayBan
        {
            get { return _NgayBan; }
            set { _NgayBan = value; }
        }
        private float _GiaBan;

        public float GiaBan
        {
            get { return _GiaBan; }
            set { _GiaBan = value; }
        }
        private int _SoLuong;

        public int SoLuong
        {
            get { return _SoLuong; }
            set { _SoLuong = value; }
        }
        private string _ChietKhau;

        public string ChietKhau
        {
            get { return _ChietKhau; }
            set { _ChietKhau = value; }
        }
        private string _GhiChu;

        public string GhiChu
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }
        private string _MaNV;

        public string MaNV
        {
            get { return _MaNV; }
            set { _MaNV = value; }
        }
        private string _MaKH;

        public string MaKH
        {
            get { return _MaKH; }
            set { _MaKH = value; }
        }
        public Ban_DTO(string mahd, string masach, DateTime ngayban,float giaban, int sl,string chietkhau,string ghichu,string manv,string makh)
        {
            MaHD = mahd;
            MaSach = masach;
            NgayBan = ngayban;
            GiaBan = giaban;
            SoLuong = sl;
            ChietKhau = chietkhau;
            GhiChu = ghichu;
            MaNV = manv;
            MaKH = makh;
        }
    }
}
